home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / MosaicSRC / libwww2 / HTWSRC.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  1.3 KB  |  46 lines

  1. /*                                                             A parser for WAIS source files
  2.                                  WAIS SOURCE FILE PARSER
  3.                                              
  4.    This converter returns a stream object into which a WAIS source file can be written.
  5.    The result is put via a structured stream into whatever format was required for the
  6.    output stream.
  7.    
  8.    See also: HTWAIS protocol interface module
  9.    
  10.  */
  11. #ifndef HTWSRC_H
  12. #define HTWSRC_H
  13. #include "HTUtils.h"
  14.  
  15. #include "HTFormat.h"
  16.  
  17. extern  HTStream* HTWSRCConvert PARAMS((
  18.         HTPresentation *        pres,
  19.         HTParentAnchor *        anchor,
  20.         HTStream *              sink,
  21.         HTFormat                format_in,
  22.         int                     compressed));
  23.  
  24. /*
  25.  
  26. Escaping Strings
  27.  
  28.    HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them
  29.    into hex-escaped characters. HTEnSlash does the reverse.
  30.    
  31.    Each returns a pointer to a newly allocated string which must eventually be freed by
  32.    the caller.
  33.    
  34.  */
  35. extern char * HTDeSlash PARAMS((CONST char * str));
  36.  
  37. extern char * HTEnSlash PARAMS((CONST char * str));
  38.  
  39. #endif
  40.  
  41. /*
  42.  
  43.                                                                                     Tim BL
  44.                                                                                           
  45.     */
  46.